package com.cgc.venus.server.job;

/**
 * 固定值
 * Created by 业哥 on 2017/12/20.
 */
public class Constants {
    public static final int ALARM_TYPE_JOB_ERROR=0;//job错误告警
    public static final int ALARM_TYPE_NODE=1;//平台节点告警
    public static final int ALARM_TYPE_APP=2;//平台应用告警
    public static final int ALARM_TYPE_STORAGE=3;//平台存储告警
    public static final int ALARM_TYPE_NS_APP=4;//平台空间应用告警
    public static final int ALARM_TYPE_HEALTH=5;//平台健康告警
    public static final int ALARM_TYPE_TEAM=6;//团队统计告警
    public static final int ALARM_TYPE_NAMESPACE=7;//空间统计告警
    public static final int ALARM_TYPE_IMAGES=8;//平台镜像告警
    public static final int ALARM_TYPE_NS_IMAGES=9;//空间镜像告警
    public static final int ALARM_TYPE_LOG_ES=10;//日志es服务相关处理任务告警

    public static final int ALARM_STATUS_ALREADY=1;//已经告警
    public static final int ALARM_STATUS_UN=0;//未告警

    public static final String ALARM_NS_ALL="all";//所有空间

    public static final int ALARM_LEVEL_HIGHEST=1;//平台告警级别 最高级别
    public static final int ALARM_LEVEL_MEDIUM=2; //平台告警级别  中等级别
    public static final int ALARM_LEVEL_COMMON=3; //平台告警级别 一般级别
}
